#!/bin/bash

cd ui
if [ "$?" -ne "0" ]; then
	echo "can't enter ui direction"
	exit
fi

for f in `ls *.ui`; do
	target=Ui_`echo ${f} | awk -F '.' '{print $1}'`.py
	pyuic4 ${f} > ${target}
done
